/**
 * @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.html or http://ckeditor.com/license
 */

CKEDITOR.editorConfig = function( config ) {
	// Define changes to default configuration here. For example:
	// config.language = 'fr';
	// config.uiColor = '#AADC6E';
	config.font_names='宋体/宋体;黑体/黑体;仿宋/仿宋_GB2312;楷体/楷体_GB2312;隶书/隶书;幼圆/幼圆;微软雅黑/微软雅黑;'+ config.font_names;
	
	//图片处理
	config.pasteFromWordRemoveStyles = true;
	config.height = 350;
	config.filebrowserImageUploadUrl = ctx+"/file/fckupload.json"; 
	config.extraPlugins = 'annex';
	config.toolbar = [
	                		//加粗     斜体，     下划线      穿过线      下标字        上标字
	                		['Bold','Italic','Underline','Strike','Subscript','Superscript'],
	                		//数字列表          实体列表            减小缩进    增大缩进
	                		['NumberedList','BulletedList','-','Outdent','Indent'],
	                		//左对齐             居中对齐          右对齐          两端对齐
	                		['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
	                		//超链接  取消超链接 锚点
	                		['Link','Unlink','Anchor'],
	                		//图片    附件    表格       水平线                特殊字符        分页符
	                		['Image','annex','Table','HorizontalRule','SpecialChar','PageBreak'],
	                		'/',
	                		//样式       格式      字体    字体大小
	                		['Styles','Format','Font','FontSize'],
	                		//文本颜色     背景颜色
	                		['TextColor','BGColor']
	                	];
};
